package com.activeshare.edu.ucenter.models.common.view;

/**
 * 返回页面的操作信息（一般用于AJAX的请求返回）
 */
public class Message {

    public static final String ERROR = "error";

    public static final String SUCCESS = "success";

    /**
     * 状态
     */
    private String status;

    /**
     * 消息
     */
    private String message;

    public Message() {
    }

    public Message(String status, String message) {
        this.status = status;
        this.message = message;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
